#-------------------------------------------------

# set to the mysql SDK path on the local build machine

MYSQL_PATH = D:\mysql-5.6.10-win32
# MYSQL_PATH = ../../../mysql/include

QT       += network sql xml
QT       -= gui

TARGET = Bio
TEMPLATE = lib
DESTDIR = ../../lib
DLLDESTDIR = ../../bin
MOC_DIR = ./moc

INCLUDEPATH += ../../include \
	./include \
	../3rdparty/qt \
	../3rdparty/zlib

!isEmpty(MYSQL_PATH) {
    INCLUDEPATH += $$MYSQL_PATH/include
    QMAKE_LIBDIR += $$MYSQL_PATH/lib
}

LIBS += -llibmysqld

DEFINES += BIO_DLL

SOURCES += Core/Core.cpp \
    Core/Version.cpp \
    Core/ProgressHandler.cpp \
    Core/Progress.cpp \
    Core/MessageHandler.cpp \
    Core/GenBank.cpp \
    Entrez/EFetch.cpp \
    Entrez/ESummary.cpp \
    Entrez/ESpell.cpp \
    Entrez/ESearchResultParser.cpp \
    Entrez/ESearch.cpp \
    Entrez/EPost.cpp \
    Entrez/Entrez.cpp \
    Entrez/ELink.cpp \
    Entrez/EInfo.cpp \
    Entrez/EGQuery.cpp \
    FileIO/DmpParser.cpp \
    FileIO/SeqParser.cpp \
    FileIO/SeqIO.cpp \
    FileIO/Parser.cpp \
    FileIO/OutputParser.cpp \
    FileIO/LogFile.cpp \
    FileIO/GzFile.cpp \
    FileIO/GenBankParser.cpp \
    FileIO/FileUtil.cpp \
    FileIO/FileDownload.cpp \
    Sequence/Alphabet.cpp \
    Sequence/Sequence.cpp \
    Sequence/SeqReference.cpp \
    Sequence/SeqRecord.cpp \
    Sequence/SeqRange.cpp \
    Sequence/SeqLocation.cpp \
    Sequence/SeqFeature.cpp \
    Sql/Sql.cpp \
    Sql/TaxonUpdateTree.cpp \
    Sql/TaxonUpdater.cpp \
    Sql/SqlUpdateBuilder.cpp \
    Sql/SqlServer.cpp \
    Sql/SqlScripts.cpp \
    Sql/SqlInsertBuilder.cpp \
    Sql/SeqDatabase.cpp \
	Sql/MySQLEmbedded.cpp \
    Sql/DbXrefInsertBuilder.cpp \
    Taxa/Taxon.cpp \
    Taxa/TaxonTree.cpp \
    ../3rdparty/qt/qftp.cpp \
	../3rdparty/qt/qsql_mysqld.cpp \
    ../3rdparty/qt/qurlinfo.cpp \
    ../3rdparty/zlib/adler32.c \
    ../3rdparty/zlib/zutil.c \
    ../3rdparty/zlib/uncompr.c \
    ../3rdparty/zlib/trees.c \
    ../3rdparty/zlib/inftrees.c \
    ../3rdparty/zlib/inflate.c \
    ../3rdparty/zlib/inffast.c \
    ../3rdparty/zlib/infback.c \
    ../3rdparty/zlib/gzwrite.c \
    ../3rdparty/zlib/gzread.c \
    ../3rdparty/zlib/gzlib.c \
    ../3rdparty/zlib/gzclose.c \
    ../3rdparty/zlib/deflate.c \
    ../3rdparty/zlib/crc32.c \
    ../3rdparty/zlib/compress.c

HEADERS += include/BioVersion.h \
    include/TaxonUpdateTree.h \
    include/TaxonUpdater.h \
    include/Strings.h \
    include/SqlScripts.h \
	include/MySQLEmbedded.h \
    include/DmpParser.h \
    include/DbXrefInsertBuilder.h \
	../../include/Alphabet.h \
    ../../include/Version.h \
    ../../include/TaxonTree.h \
    ../../include/Taxon.h \
    ../../include/SqlUpdateBuilder.h \
    ../../include/SqlServer.h \
    ../../include/SqlInsertBuilder.h \
    ../../include/Sql.h \
    ../../include/Sequence.h \
    ../../include/SeqReference.h \
    ../../include/SeqRecord.h \
    ../../include/SeqRange.h \
    ../../include/SeqParser.h \
    ../../include/SeqLocation.h \
    ../../include/SeqIO.h \
    ../../include/SeqFeature.h \
    ../../include/SeqDatabase.h \
    ../../include/ProgressHandler.h \
    ../../include/Progress.h \
    ../../include/Parser.h \
    ../../include/OutputParser.h \
    ../../include/MessageHandler.h \
    ../../include/LogFile.h \
    ../../include/GzFile.h \
    ../../include/GenBankParser.h \
    ../../include/GenBank.h \
    ../../include/FileUtil.h \
    ../../include/FileDownload.h \
    ../../include/ESummary.h \
    ../../include/ESpell.h \
    ../../include/ESearchResultParser.h \
    ../../include/ESearch.h \
    ../../include/EPost.h \
    ../../include/Entrez.h \
    ../../include/ELink.h \
    ../../include/EInfo.h \
    ../../include/EGQuery.h \
    ../../include/EFetch.h \
    ../../include/Core.h \
    ../../include/BioDefs.h \
    ../3rdparty/qt/qftp.h \
	../3rdparty/qt/qsql_mysqld.h \
    ../3rdparty/qt/qurlinfo.h
